package com.yyds.blackmagic.mapper;

import com.yyds.blackmagic.entity.AdminPermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminPermissionMapper {

    List<AdminPermission> findPermsByRoleId (Integer id);

    List<AdminPermission> findAll ();

    int deleteAllPermissionByRoleId (Integer id);

    int add (Integer id, int id1);
}
